﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<RushTracker.Core.Models.User>" %>

<div class="box">
    <h2><%= Model.Username %> [ <%= Html.ActionLink("X", "Logout", "Users") %> ]</h2>

    <div class="boxcontent">
        <ul class="iconlist">
            <li class="icon-profile"><%= Html.ActionLink("Your profile", "View", "Users", new { userId = Model.Id }, "") %></li>
            <li class="icon-bookmark"><a href="#">Bookmarked torrents</a></li>
            <li class="icon-rss"><a href="#">Custom RSS feeds</a></li>
            <li class="icon-settings"><%= Html.ActionLink("Settings", "Edit", "Users", new { userId = Model.Id }, "") %></li>
        </ul>
    </div>
</div>
